package cn.lingyangwl.agile.food.model.rqrs.sku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存单据记录
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value = "库存单据记录")
public class SkuInOutRecordResp extends SkuInOutRecordBase {
	private Long id;

	@ApiModelProperty(value = "库存单号")
	private String stockNo;

	@ApiModelProperty(value = "操作人id")
	private Long operaterId;
	
	@ApiModelProperty(value = "操作人用户名")
	private String operaterName;
	
	@ApiModelProperty(value = "操作时间")
	private Date operateTime;
	
	@ApiModelProperty(value = "库存单据类型, 正数表示入库, 负数表示出库")
	private Integer type;
	
	@ApiModelProperty(value = "创建时间")
	private Date createdAt;
	
	@ApiModelProperty(value = "总金额")
	private BigDecimal totalPrice;
	
	@ApiModelProperty(value = "状态, 1: 待审核, 2: 已审核 3. 拒绝")
	private String status;
	
	@ApiModelProperty(value = "拒绝理由")
	private String refuseReason;
	
	@ApiModelProperty(value = "审核时间")
	private Date auditTime;
}
